import Vue from "vue";
import App from "./App.vue";
import router from "./extends/router";
import store from "./extends/store";
import axios from "./extends/axios";
import common from "./extends/common.js"; // 公共方法
import api from "./extends/api";
import "./extends/vueEpg.js"; // 方向键焦点事件
import proportion from "vue-proportion-directive"; // 宽高等比设置
Vue.prototype.$http = axios.http;
Vue.prototype.$store = store;
Vue.prototype.$api = api;
Vue.prototype.$common = common;
Vue.use(proportion);
Vue.config.productionTip = false;

new Vue({
  router,
  store,
  render: h => h(App)
}).$mount("#app");
